SureCart\Models\Price A

Total Complexity 55
Dependencies 3
Dependents 8
Total lines 419
Lines of code 205
Logical lines of code 67
Comment lines 160
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
getShortIntervalTextAttribute()
S
49 5 32
getDisplayAmountAttribute()
S
61 5 12
getIntervalTextAttribute()
S
51 3 29
getPaymentsTextAttribute()
S
63 3 11
getConvertedAmountAttribute()
S
71 3 6
getConvertedAdHocMinAmountAttribute()
S
71 3 6
getConvertedAdHocMaxAmountAttribute()
S
71 3 6
getIsOnSaleAttribute()
S
71 3 6
getSetupFeeTextAttribute()
S
64 3 10
getSetupFeeTextWithPunctuationAttribute()
S
64 3 10
getSetupFeeDisplayAmountAttribute()
S
70 3 6
getTrialTextAttribute()
S
64 2 12
getTrialTextWithPunctuationAttribute()
S
64 2 12
sync()
S
69 2 7
getScratchDisplayAmountAttribute()
S
78 2 3
getShortIntervalCountTextAttribute()
S
70 2 6
getIntervalCountTextAttribute()
S
70 2 6
create()
S
73 1 5
update()
S
73 1 5
delete()
S
71 1 6
setCurrentSwapAttribute()
S
79 1 3
getIsZeroDecimalAttribute()
S
80 1 3
getCurrencySymbolAttribute()
S
80 1 3